﻿using Nemerle.Late;
using System;


class NDynamic
{
  PrintLength(obj : object) : void {
    def len = late(obj.Length) :> int;
    Console.WriteLine(len);
  }
  
  public DynamicLength() : void {
    PrintLength("foobar");
    PrintLength(array[1,2,4]);
  }
}